package edu.sandau.app.basic.vo;

import io.swagger.v3.oas.annotations.media.Schema;

/**
 * 密码验证请求
 */
public class PasswordVerifyRequest {
    
    @Schema(description = "用户名", type = "string")
    private String username;
    
    @Schema(description = "密码", type = "string")
    private String password;
    
    public PasswordVerifyRequest() {
    }
    
    public PasswordVerifyRequest(String username, String password) {
        this.username = username;
        this.password = password;
    }
    
    public String getUsername() {
        return username;
    }
    
    public void setUsername(String username) {
        this.username = username;
    }
    
    public String getPassword() {
        return password;
    }
    
    public void setPassword(String password) {
        this.password = password;
    }
    
    @Override
    public String toString() {
        return "PasswordVerifyRequest{" +
                "username='" + username + '\'' +
                ", password='[PROTECTED]'" +
                '}';
    }
}
